package com.fs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务人员认证管理对象 worker_certification_audit
 * 
 * @author csq
 * @date 2024-10-18
 */
public class AuditWorkerCertificationAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using = ToStringSerializer.class)//解决vue数值超过16位数字后精度丢失问题
    private Long id;

    /** 服务人员id */
    private Long serveProviderId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNo;

    /** 身份证人像照片 */
    @Excel(name = "身份证人像照片")
    private String frontImg;

    /** 身份证国徽照片 */
    @Excel(name = "身份证国徽照片")
    private String backImg;

    /** 证明资料 */
    @Excel(name = "证明资料")
    private String certificationMaterial;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long auditStatus;

    /** 审核人id */
    private Long auditorId;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditorName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private Long certificationStatus;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectReason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServeProviderId(Long serveProviderId) 
    {
        this.serveProviderId = serveProviderId;
    }

    public Long getServeProviderId() 
    {
        return serveProviderId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdCardNo(String idCardNo) 
    {
        this.idCardNo = idCardNo;
    }

    public String getIdCardNo() 
    {
        return idCardNo;
    }
    public void setFrontImg(String frontImg) 
    {
        this.frontImg = frontImg;
    }

    public String getFrontImg() 
    {
        return frontImg;
    }
    public void setBackImg(String backImg) 
    {
        this.backImg = backImg;
    }

    public String getBackImg() 
    {
        return backImg;
    }
    public void setCertificationMaterial(String certificationMaterial) 
    {
        this.certificationMaterial = certificationMaterial;
    }

    public String getCertificationMaterial() 
    {
        return certificationMaterial;
    }
    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }
    public void setAuditorId(Long auditorId) 
    {
        this.auditorId = auditorId;
    }

    public Long getAuditorId() 
    {
        return auditorId;
    }
    public void setAuditorName(String auditorName) 
    {
        this.auditorName = auditorName;
    }

    public String getAuditorName() 
    {
        return auditorName;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setCertificationStatus(Long certificationStatus) 
    {
        this.certificationStatus = certificationStatus;
    }

    public Long getCertificationStatus() 
    {
        return certificationStatus;
    }
    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serveProviderId", getServeProviderId())
            .append("name", getName())
            .append("idCardNo", getIdCardNo())
            .append("frontImg", getFrontImg())
            .append("backImg", getBackImg())
            .append("certificationMaterial", getCertificationMaterial())
            .append("auditStatus", getAuditStatus())
            .append("auditorId", getAuditorId())
            .append("auditorName", getAuditorName())
            .append("auditTime", getAuditTime())
            .append("certificationStatus", getCertificationStatus())
            .append("rejectReason", getRejectReason())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
